package com.zzty.dao;

import com.zzty.entity.Groups;
import com.zzty.entity.TeamExamTransaction;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

public interface TeamExamTransactionDao {
    public boolean updateTeamExamTransactionByUserId(TeamExamTransaction teamExamTransaction,Calendar cal);
    public List getAnsewrUrlByTeamExamId(Integer teamExamId);
    public boolean setBeginTimeAndUserId(String date,Integer teamExamId,Integer groupId);
    public List getGroupsByTeamExamId(Integer teamExamId);
    public String getUrl(Integer teamExamId,Integer groupId);
    public boolean setScore(Integer teamExamId,Integer groupId,Integer score);
    public List getTeamExamIdByGroupId(Integer groupId);
    public Double getScoreByGroupIdByTeamExamId(Integer teamExamId,Integer groupId);
    public boolean checkToday(Integer teamExamId,Integer groupId);
    public boolean checkTodaySubmit(Integer teamExamId, Integer groupId);
    public String getBeginTime(Integer teamExamId, Integer groupId);
}
